﻿using SuperX.Common;
using SuperX.Common.Abstract;
using System;
using System.Collections.Generic;
using System.Text;

namespace SuperX.DataService
{
    public struct FileData : IComparable<FileData>
    {
        public long ID;
        public string Text;
        public dynamic Value { get; set; }
        public dynamic DynamicValue { get; set; }

        public FileData(long id, dynamic value, string text, dynamic dynamicValue)
        {
            ID = id;
            Value = value;
            Text = text;
            DynamicValue = dynamicValue;
        }

        public int CompareTo(FileData other)
        {
            return this.ID.CompareTo(other.ID);
        }
    }
}